Skip to content

Commit

Permalink
feat: old deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
JDihlmann committed Dec 21, 2023
1 parent d36c96b commit 525e862
Showing 1 changed file with 16 additions and 21 deletions.
37 changes: 16 additions & 21 deletions .github/workflows/github-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,32 @@
# This is a basic workflow to help you get started with Actions

name: SAMURAI Deploy

# Controls when the workflow will run
on:
# Runs on pushes targeting the default branch
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: ["main"]
branches:
- main
paths:
- "**"
pull_request:
branches:
- main
paths:
- "**"

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Pages
uses: actions/configure-pages@v4

- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2

- uses: actions/cache@v2
id: cache
with:
Expand All @@ -45,6 +37,9 @@ jobs:
if: steps.cache.outputs.cache-hit != 'true'
run: yarn --frozen-lockfile --network-concurrency 1

- name: Build Remix
run: yarn build

- name: Build Static
run: yarn build_static

Expand Down

0 comments on commit 525e862

Please sign in to comment.