Skip to content

Commit

Permalink
Adds deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mrharpo committed Feb 24, 2024
1 parent 6f5011e commit 7884562
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: 🏭 Build and Deploy
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:

permissions:
contents: write

jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v4

- name: 🛠️ Install and Build
run: cd datafactorio-site && npm run build

- name: 🚀 Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: datafactorio-site/dist

0 comments on commit 7884562

Please sign in to comment.