Skip to content

Merge pull request #177 from w3f/AlistairStewart-patch-1 #56

Merge pull request #177 from w3f/AlistairStewart-patch-1

Merge pull request #177 from w3f/AlistairStewart-patch-1 #56

Workflow file for this run

name: Publish website
on:
workflow_dispatch:
push:
branches:
- master
jobs:
build:
if: github.repository_owner == 'w3f'
name: build and deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v2
with:
node-version: "18.x"
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Publish
run: |
git config --global user.email "[email protected]"
git config --global user.name "grants-deployer"
echo "machine github.com login grants-deployer password ${{ secrets.ACCESS_KEY }}" > ~/.netrc
npm i && npm run build && GIT_USER=grants-deployer PUBLISHING=true npm run deploy