Skip to content

Commit

Permalink
Update overpass-turbo site githuba action
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Jul 16, 2024
1 parent 86efacf commit 09f5fff
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/frontend-overpass.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
name: Build and Publish overpass-turbo site

on:
push:
branches:
- 'main'
- 'staging'

jobs:
overpass-turbo:
runs-on: ubuntu-latest

steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
Expand All @@ -33,14 +36,19 @@ jobs:
uses: actions/checkout@v2
with:
repository: OpenHistoricalMap/overpass-turbo
ref: 1893cef4c0ab4ce96ad0451103526c18ebabf8f6
# token: ${{env.DEV_GITHUB_TOKEN}}
ref: f4f5a0342b3d767a535febffcf9b9a1184c19ea5

- name: Use Node.js 16
uses: actions/setup-node@v1
with:
node-version: 16

- name: Enable Corepack
run: corepack enable

- name: Prepare Yarn 4.3.1
run: corepack prepare [email protected] --activate

- name: Install modules
run: |
rm -rf node_modules
Expand Down Expand Up @@ -69,4 +77,4 @@ jobs:
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

0 comments on commit 09f5fff

Please sign in to comment.