AIS-64 | @jdwjdwjdw | A11y and console fixups (#153) #14
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: Release | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
release: | |
name: Release | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
# Specify a different token to allow pushing changes to main later | |
with: | |
token: ${{ secrets.ADMIN_GITHUB_TOKEN }} | |
- name: Set Git user | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "Github Action" | |
- name: Publish Release | |
id: release | |
uses: release-drafter/release-drafter@v5 | |
with: | |
publish: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.ADMIN_GITHUB_TOKEN }} | |
# The following var needs to correspond with what's used in the .npmrc file for fa pro | |
FONTAWESOME_NPM_AUTH_TOKEN: ${{ secrets.FA_NPM_TOKEN }} | |
- name: Merge release back into dev | |
uses: devmasx/[email protected] | |
with: | |
type: now | |
from_branch: main | |
target_branch: dev | |
github_token: ${{ secrets.ADMIN_GITHUB_TOKEN }} |