Update actions/checkout action to v4.1.5 #186
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: "Install and build" | |
on: | |
push: | |
branches: | |
- develop | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5 | |
- name: Set up node. | |
uses: actions/[email protected] | |
with: | |
node-version: 17.x | |
- name: Install and build. | |
run: | | |
yarn install | |
yarn build | |
env: | |
CI: true | |
- name: Deploy! | |
uses: demurgos/ga-deploy-git@v1 | |
if: ${{ github.event_name == 'push' }} | |
with: | |
accessToken: ${{ secrets.PUSH_TOKEN }} | |
commitEmail: "[email protected]" | |
commitUser: "Frozzbot" | |
destBranch: "main" | |
srcDir: "build" |