Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

Commit

Permalink
Update github action to include org name in checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
hanzlamateen committed Aug 17, 2024
1 parent 924991a commit c380cc0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Checkout Project
uses: actions/checkout@v3
with:
path: './packages/projects/projects/${{ github.event.repository.name }}'
path: './packages/projects/projects/etherealengine/${{ github.event.repository.name }}'
- name: Use Node.js
uses: actions/setup-node@v3
with:
Expand All @@ -56,13 +56,13 @@ jobs:
key: ${{ runner.os }}-branch-build-${{ hashFiles('**/package.json') }}
- run: cp .env.local.default .env.local
- run: npm install --production=false --loglevel notice --legacy-peer-deps
- run: cd './packages/projects/projects/${{ github.event.repository.name }}' && npx cross-env STATIC_BUILD_HOST=${{ secrets.STATIC_BUILD_HOST }} npm run build
- run: cd './packages/projects/projects/etherealengine/${{ github.event.repository.name }}' && npx cross-env STATIC_BUILD_HOST=${{ secrets.STATIC_BUILD_HOST }} npm run build
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: './packages/projects/projects/${{ github.event.repository.name }}/dist'
path: './packages/projects/projects/etherealengine/${{ github.event.repository.name }}/dist'
- name: Sleep for 15 seconds
run: sleep 15s
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/project-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Checkout Project
uses: actions/checkout@v3
with:
path: './packages/projects/projects/${{ github.event.repository.name }}'
path: './packages/projects/projects/etherealengine/${{ github.event.repository.name }}'
- name: Use Node.js
uses: actions/setup-node@v3
with:
Expand Down

0 comments on commit c380cc0

Please sign in to comment.