diff options
| author | Kevin Hoerr <kjhoerr@protonmail.com> | 2022-11-28 21:46:31 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-28 21:46:31 -0500 |
| commit | 31eb5143b0fab7befe86ca8c016fb7ea1b401c08 (patch) | |
| tree | f7e9bfecd3f811b34b961c56a444ef3700ef01c7 /.github/workflows | |
| parent | ffecaf6931f8b6565b567b59a881654d11f4e934 (diff) | |
| download | submelon.dev-31eb5143b0fab7befe86ca8c016fb7ea1b401c08.tar.gz submelon.dev-31eb5143b0fab7befe86ca8c016fb7ea1b401c08.tar.bz2 submelon.dev-31eb5143b0fab7befe86ca8c016fb7ea1b401c08.zip | |
Update build with changes (#27)
* Update filetype
* Update timestamp of app before build
* Fix version specification for step
* Fix BlockLink typing
* Update with my actual role
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 683f9ae..62e11ed 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,6 +22,15 @@ jobs: cache: 'npm' - name: Install Node.js packages run: npm ci + - name: Get current date + id: date + run: echo "::set-output name=date::$(date +'%s')" + - name: Modify version number + uses: mingjun97/file-regex-replace@v1 + with: + regex: 'version: "[0-9]*",' + replacement: 'version: "${{ steps.date.outputs.date }}",' + include: 'gatsby-config\.ts' - name: Clean Gatsby cache run: npm run clean - name: Run Gatsby Build |
