Update release.yml
This commit is contained in:
parent
32f445d640
commit
54e08ca00a
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
@ -52,8 +52,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
pip install --upgrade pip setuptools wheel
|
pip install --upgrade pip setuptools wheel
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
- name: Create directories
|
|
||||||
run: mkdir -p public static
|
|
||||||
- name: Download pages
|
- name: Download pages
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
@ -83,7 +81,7 @@ jobs:
|
||||||
name: enhanced_pages
|
name: enhanced_pages
|
||||||
path: public
|
path: public
|
||||||
- name: Generate timestamp
|
- name: Generate timestamp
|
||||||
run: echo "timestamp=$(date --iso-8601=seconds | sed 's/://g;s/+/_/g')" >> $GITHUB_ENV
|
run: echo "timestamp=$(date -u +'%Y-%m-%dT%H%M%SZ')" >> $GITHUB_ENV
|
||||||
- name: Create Release Archive
|
- name: Create Release Archive
|
||||||
uses: thedoctor0/zip-release@0.7.1
|
uses: thedoctor0/zip-release@0.7.1
|
||||||
with:
|
with:
|
||||||
|
@ -111,7 +109,7 @@ jobs:
|
||||||
name: enhanced_pages
|
name: enhanced_pages
|
||||||
path: public
|
path: public
|
||||||
- name: Generate timestamp
|
- name: Generate timestamp
|
||||||
run: echo "timestamp=$(date --iso-8601=seconds | sed 's/://g;s/+/_/g')" >> $GITHUB_ENV
|
run: echo "timestamp=$(date -u +'%Y-%m-%dT%H%M%SZ')" >> $GITHUB_ENV
|
||||||
- name: Create Release Archive
|
- name: Create Release Archive
|
||||||
uses: thedoctor0/zip-release@0.7.1
|
uses: thedoctor0/zip-release@0.7.1
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue