mirror of
https://github.com/privacy-scaling-explorations/p0tion.git
synced 2026-04-21 03:00:07 -04:00
Merge pull request #232 from 0xjei/fix/actions-wd
Fix actions working directory outdated paths
This commit is contained in:
2
.github/workflows/deploy-dev.yaml
vendored
2
.github/workflows/deploy-dev.yaml
vendored
@@ -18,6 +18,6 @@ jobs:
|
||||
|
||||
- name: deploy to Firebase
|
||||
run: yarn firebase:deploy
|
||||
working-directory: backend
|
||||
working-directory: packages/backend
|
||||
env:
|
||||
GOOGLE_APPLICATION_CREDENTIALS: ${{ secrets.SERVICE_ACCOUNT_KEY }}
|
||||
|
||||
20
.github/workflows/website.yaml
vendored
20
.github/workflows/website.yaml
vendored
@@ -1,5 +1,5 @@
|
||||
name: Deploy GitHub Pages
|
||||
|
||||
run-name: Deploy Github Pages
|
||||
on:
|
||||
push:
|
||||
branches: ["dev"]
|
||||
@@ -24,30 +24,30 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
- name: checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Pages
|
||||
- name: setup pages
|
||||
uses: actions/configure-pages@v2
|
||||
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
cache: yarn
|
||||
cache-dependency-path: website/yarn.lock
|
||||
cache-dependency-path: packages/website/yarn.lock
|
||||
|
||||
- name: Install dependencies
|
||||
- name: install dependencies
|
||||
run: yarn install --frozen-lockfile
|
||||
working-directory: website
|
||||
working-directory: packages/website
|
||||
|
||||
- name: Build website
|
||||
- name: build website
|
||||
run: yarn build
|
||||
working-directory: website
|
||||
working-directory: packages/website
|
||||
|
||||
- name: Upload artifact
|
||||
- name: upload artifact
|
||||
uses: actions/upload-pages-artifact@v1
|
||||
with:
|
||||
path: website/build
|
||||
path: packages/website/build
|
||||
|
||||
# Deployment job
|
||||
deploy:
|
||||
|
||||
Reference in New Issue
Block a user