You've already forked wakapi-readme-stats
fix: Update CI pipeline #2
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -62,7 +62,7 @@ jobs:
|
|||||||
run: python3 sources/main.py
|
run: python3 sources/main.py
|
||||||
|
|
||||||
- name: Save Branch Name Without Slashes 📛
|
- name: Save Branch Name Without Slashes 📛
|
||||||
if: ${{ github.ref != 'refs/heads/master' }}
|
if: ${{ github.ref != 'refs/heads/main' }}
|
||||||
env:
|
env:
|
||||||
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
|
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
|
||||||
run: |
|
run: |
|
||||||
@@ -72,7 +72,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload Artifact 📦
|
- name: Upload Artifact 📦
|
||||||
uses: https://github.com/actions/upload-artifact@v3
|
uses: https://github.com/actions/upload-artifact@v3
|
||||||
if: ${{ github.ref != 'refs/heads/master' }}
|
if: ${{ github.ref != 'refs/heads/main' }}
|
||||||
with:
|
with:
|
||||||
name: ${{ format('github-pages-for-branch-{0}', env.BRANCH_NAME) }}
|
name: ${{ format('github-pages-for-branch-{0}', env.BRANCH_NAME) }}
|
||||||
path: assets
|
path: assets
|
||||||
|
|||||||
Reference in New Issue
Block a user