Merge pull request #2188 from luck3y/patch-1 #173
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: deploy-website | |
# Our workflow will only be triggered when we push to the develop branch | |
on: | |
push: | |
branches: | |
- develop | |
jobs: | |
build: | |
name: deploy | |
runs-on: ubuntu-latest | |
# Actions | |
steps: | |
# First, checkout the code. | |
- uses: actions/checkout@v3 | |
# Next, execute our custom action to build and deploy the site to the gh-pages branch. | |
- uses: ./.github/actions/build-and-deploy-site | |
env: | |
# Using the default secrets.GITHUB_TOKEN does not work properly | |
# yet. It seems that it can only be used for private repositories | |
# right now. We will use a personal access token to work around this. | |
GITHUB_TOKEN: ${{ secrets.PUSH_GITHUB_TOKEN }} |