Skip to content

Commit

Permalink
Adding job to create an archive of the site.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfekke committed Dec 23, 2021
1 parent fb00c9a commit 5aacbba
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/package-gatsby.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Package Gatsby

on:
push:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- run: npm ci
- run: npm run build
- shell: bash
run: tar -czvf fek.io.site_archive.tar.gz public/*
- name: Upload site archive
uses: actions/upload-artifact@v2
with:
name: fek.io.archive
path: fek.io.site_archive.tar.gz

0 comments on commit 5aacbba

Please sign in to comment.