Upgrade (#48) #47
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: Build and deploy | |
on: | |
push: | |
branches: | |
- source | |
jobs: | |
build-and-deploy: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Import GPG key | |
uses: crazy-max/ghaction-import-gpg@v4 | |
with: | |
git_commit_gpgsign: true | |
git_user_signingkey: true | |
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | |
- name: Install Yarn | |
run: npm i yarn -g | |
- name: Install dependencies | |
run: yarn | |
- name: Build | |
run: yarn run build | |
env: | |
CI: true | |
- name: GitHub Pages deploy | |
uses: crazy-max/ghaction-github-pages@v2 | |
with: | |
author: Dmitrij Podabed <[email protected]> | |
build_dir: public | |
commit_message: Updates | |
committer: Dmitrij Podabed <[email protected]> | |
fqdn: itfarrier.com | |
keep_history: true | |
target_branch: master | |
verbose: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |