Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge CI changes into dev #62

Merged
merged 5 commits into from
Aug 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 5 additions & 12 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,6 @@ defaults:
working-directory: frontend/gostarkme-web

jobs:
create-envfile:

runs-on: ubuntu-latest

steps:
- name: Make envfile
uses: SpicyPizza/create-envfile@v1
with:
ROOT: https://web3wagers.github.io/gostarkme/
file_name: frontend/gostarkme-web/.env

# Build job
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -85,7 +74,11 @@ jobs:
- name: Install dependencies
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
- name: Build with Next.js
run: ${{ steps.detect-package-manager.outputs.runner }} next build
env:
ROOT: ${{ vars.ROOT }}
run: |
echo "ROOT is ${{ vars.ROOT }}"
${{ steps.detect-package-manager.outputs.runner }} next build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down
Loading