chore: update dependencies (#96) #103
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 documentation | |
on: | |
push: | |
branches: | |
- source | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: npm install | |
run: npm install | |
- name: npm run deploy | |
run: | | |
git config --global user.email "trygve-lie@users.noreply.github.com" | |
git config --global user.name "trygve-lie" | |
echo "machine github.com login trygve-lie password ${{ secrets.GIT_TOKEN }}" > ~/.netrc | |
npm run deploy | |
env: | |
CI: true | |
GIT_USER: trygve-lie | |
DEPLOYMENT_BRANCH: main |