Skip to content

🗃 Update data

🗃 Update data #196

Workflow file for this run

name: Deploy
on:
workflow_dispatch:
push:
branches: [master]
workflow_run:
branches: [master]
workflows: ["Update data"]
types:
- completed
defaults:
run:
working-directory: website
jobs:
build-and-deploy:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' || github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v3
with:
repository: ${{ github.repository_owner }}/equalstreetnames
persist-credentials: false
submodules: true
- run: npm install
- run: npm run build:switzerland:zurich
env:
MAPBOX_TOKEN: ${{ secrets.MAPBOX_TOKEN }}
- name: Deploy
uses: JamesIves/[email protected]
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
REPOSITORY_NAME: ${{ github.repository }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: 'website/dist/switzerland/zurich' # The folder the action should deploy.
CLEAN: true # Automatically remove deleted files from the deploy branch