Skip to content

Commit

Permalink
ci: test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0w committed Oct 20, 2024
1 parent a5cf85e commit eb5a347
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ on:
GH_PAGES_DEPLOY:
required: false

env:
GLOBAL_VAR: 'GlobalValue'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
Expand Down Expand Up @@ -76,7 +79,7 @@ jobs:
- name: Deploy
env:
GH_DEPLOY: ${{ secrets.GH_PAGES_DEPLOY }}
uses: JamesIves/github-pages-deploy-action@${{ env.GH_DEPLOY }}
uses: JamesIves/github-pages-deploy-action@${{ env.GLOBAL_VAR }}
if: ${{ github.event_name == 'push' && env.GH_DEPLOY != 'false' }}
with:
branch: gh-pages
Expand Down

0 comments on commit eb5a347

Please sign in to comment.