Skip to content

Commit

Permalink
remove github pages build
Browse files Browse the repository at this point in the history
  • Loading branch information
danieleguido committed Dec 6, 2024
1 parent 586c01a commit 9f3be6b
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/docker-build-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,38 +21,7 @@ concurrency:
cancel-in-progress: true

jobs:
buildghpages:
runs-on: ubuntu-latest
steps:
- name: Checkout your repository using git
uses: actions/checkout@v4

- name: Get al env variables
run: |
echo "PUBLIC_IMPRESSO_DATALAB_SITE=https://impresso.github.io" >> $GITHUB_ENV
echo "PUBLIC_IMPRESSO_DATALAB_BASE=/impresso-datalab" >> $GITHUB_ENV
echo "PUBLIC_GIT_COMMIT_SHA=$(echo $GITHUB_SHA | cut -c1-7)" >> $GITHUB_ENV
echo "PUBLIC_BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_ENV
echo "PUBLIC_GIT_BRANCH=$(echo $GITHUB_REF | sed 's/refs\/heads\///')" >> $GITHUB_ENV
echo "PUBLIC_GIT_REMOTE=$(git config --get remote.origin.url)" >> $GITHUB_ENV
echo "PUBLIC_GIT_TAG=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV
echo "PUBLIC_GIT_REMOTE=$(git config --get remote.origin.url)" >> $GITHUB_ENV
echo "PUBLIC_VERSION=latest-gh" >> $GITHUB_ENV
- name: Install, build, and upload your site
uses: withastro/action@v3
deployghpages:
needs: buildghpages
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
docker:
needs: deployghpages
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down

0 comments on commit 9f3be6b

Please sign in to comment.