Skip to content

Commit

Permalink
Another build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanlangston committed Jan 2, 2024
1 parent e10f081 commit 119de8c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/DeployPages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,7 @@ concurrency:
jobs:
build:
runs-on: ubuntu-latest
outputs:
datetime: ${{ steps.set_datetime.outputs.datetime }}
steps:
- name: Set current datetime output variable
id: set_datetime
run: echo "datetime=$(date +"%Y%m%d%H%M%S")" >> "$GITHUB_OUTPUT"
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Checkout
Expand Down Expand Up @@ -104,21 +99,26 @@ jobs:

deploy-github-pages:
runs-on: ubuntu-latest
needs: [build]
outputs:
datetime: ${{ steps.set_datetime.outputs.datetime }}
needs: build
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Set current datetime output variable
id: set_datetime
run: echo "datetime=$(date +"%Y%m%d%H%M%S")" >> "$GITHUB_OUTPUT"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

deploy-itchio:
runs-on: ubuntu-latest
needs: [build, deploy-github-pages]
needs: deploy-github-pages
permissions:
contents: write
steps:
Expand All @@ -145,7 +145,7 @@ jobs:

release:
runs-on: ubuntu-latest
needs: [build, deploy-github-pages]
needs: deploy-github-pages
permissions:
contents: write
steps:
Expand Down

0 comments on commit 119de8c

Please sign in to comment.