mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-26 18:02:18 +00:00
Still helps if I commit valid YAML
This commit is contained in:
6
.github/workflows/django.yml
vendored
6
.github/workflows/django.yml
vendored
@@ -9,17 +9,17 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
dependencies:
|
dependencies:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: "!contains(github.event.head_commit.message, '[ci skip]')"
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: bahmutov/npm-install@v1
|
- uses: bahmutov/npm-install@v1
|
||||||
- run: node node_modules/gulp/bin/gulp build
|
- run: node node_modules/gulp/bin/gulp build
|
||||||
- name: Cache gulp output
|
- name: Cache gulp output
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: static/
|
path: static/
|
||||||
key: static-${{ hashFiles('package-lock.json') }}-${{ hashFiles('RIGS/static') }}
|
key: static-${{ hashFiles('package-lock.json') }}-${{ hashFiles('RIGS/static') }}
|
||||||
test:
|
test:
|
||||||
|
if: "!contains(github.event.head_commit.message, '[ci skip]')"
|
||||||
needs: dependencies
|
needs: dependencies
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user