fix: Update CI pipeline #2

Merged
xyvs merged 3 commits from ci into main 2024-11-03 19:53:12 -08:00
Showing only changes of commit 779d9cefdd - Show all commits

View File

@@ -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