Added click-to-copy for build templates #586
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: AZola | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
name: Test Build | |
runs-on: ubuntu-latest | |
if: github.ref != 'refs/heads/master' | |
steps: | |
- name: Checkout master | |
uses: actions/checkout@v4 | |
- name: Build only | |
uses: berdandy/[email protected] | |
env: | |
BUILD_ONLY: true | |
BUILD_FLAGS: --drafts | |
# CHECK_LINKS: true | |
BUILD_THEMES: false | |
build_and_deploy: | |
name: Deploy to Site | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/master' | |
steps: | |
- name: Checkout master | |
uses: actions/checkout@v4 | |
- name: Build and deploy | |
uses: berdandy/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
REPOSITORY: accessibilitywars/aw2-builds | |
PAGES_BRANCH: main | |
TOKEN: ${{ secrets.TOKEN }} | |
BUILD_THEMES: false | |
CHECK_LINKS: true |