Skip to content

Commit 9d7a94d

Browse files
committed
test
1 parent 548b893 commit 9d7a94d

File tree

2 files changed

+46
-46
lines changed

2 files changed

+46
-46
lines changed

.github/workflows/deploy-development.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -84,26 +84,26 @@ jobs:
8484
- name: Deploy to firebase
8585
run: firebase deploy -m "Autodeploy from GitHUB ($GITHUB_ACTOR)" --only hosting:$FIREBASE_SITE_ALIAS
8686
working-directory: ${{ github.workspace }}/firebase/hosting/${{ env.SITE_DIR }}
87-
- name: The job has failed - archive result
88-
if: ${{ failure() }}
89-
run: |
90-
if [[ -d ${{ github.workspace }}/firebase ]]; then
91-
tar -czf firebase.tar.gz firebase;
92-
fi
93-
working-directory: ${{ github.workspace }}
94-
- name: The job has failed - archive npm logs
95-
if: ${{ failure() }}
96-
run: |
97-
if [[ -d /home/runner/.npm/_logs ]]; then
98-
tar -czf ${{ github.workspace }}/npm-logs.tar.gz /home/runner/.npm/_logs;
99-
fi
100-
working-directory: /
101-
- name: The job has failed - upload artifacts
102-
if: ${{ failure() }}
103-
uses: actions/upload-artifact@v4
104-
with:
105-
name: ${{ env.FIREBASE_PROJECT }}-site-${{ env.FIREBASE_SITE_ALIAS }}-debug
106-
path: |
107-
${{ github.workspace }}/firebase.tar.gz
108-
${{ github.workspace }}/npm-logs.tar.gz
109-
retention-days: 1
87+
# - name: The job has failed - archive result
88+
# if: ${{ failure() }}
89+
# run: |
90+
# if [[ -d ${{ github.workspace }}/firebase ]]; then
91+
# tar -czf firebase.tar.gz firebase;
92+
# fi
93+
# working-directory: ${{ github.workspace }}
94+
# - name: The job has failed - archive npm logs
95+
# if: ${{ failure() }}
96+
# run: |
97+
# if [[ -d /home/runner/.npm/_logs ]]; then
98+
# tar -czf ${{ github.workspace }}/npm-logs.tar.gz /home/runner/.npm/_logs;
99+
# fi
100+
# working-directory: /
101+
# - name: The job has failed - upload artifacts
102+
# if: ${{ failure() }}
103+
# uses: actions/upload-artifact@v4
104+
# with:
105+
# name: ${{ env.FIREBASE_PROJECT }}-site-${{ env.FIREBASE_SITE_ALIAS }}-debug
106+
# path: |
107+
# ${{ github.workspace }}/firebase.tar.gz
108+
# ${{ github.workspace }}/npm-logs.tar.gz
109+
# retention-days: 1

.github/workflows/deploy-production.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -84,26 +84,26 @@ jobs:
8484
- name: Deploy to firebase
8585
run: firebase deploy -m "Autodeploy from GitHUB ($GITHUB_ACTOR)" --only hosting:$FIREBASE_SITE_ALIAS
8686
working-directory: ${{ github.workspace }}/firebase/hosting/${{ env.SITE_DIR }}
87-
- name: The job has failed - archive result
88-
if: ${{ failure() }}
89-
run: |
90-
if [[ -d ${{ github.workspace }}/firebase ]]; then
91-
tar -czf firebase.tar.gz firebase;
92-
fi
93-
working-directory: ${{ github.workspace }}
94-
- name: The job has failed - archive npm logs
95-
if: ${{ failure() }}
96-
run: |
97-
if [[ -d /home/runner/.npm/_logs ]]; then
98-
tar -czf ${{ github.workspace }}/npm-logs.tar.gz /home/runner/.npm/_logs;
99-
fi
100-
working-directory: /
101-
- name: The job has failed - upload artifacts
102-
if: ${{ failure() }}
103-
uses: actions/upload-artifact@v4
104-
with:
105-
name: ${{ env.FIREBASE_PROJECT }}-site-${{ env.FIREBASE_SITE_ALIAS }}-debug
106-
path: |
107-
${{ github.workspace }}/firebase.tar.gz
108-
${{ github.workspace }}/npm-logs.tar.gz
109-
retention-days: 1
87+
# - name: The job has failed - archive result
88+
# if: ${{ failure() }}
89+
# run: |
90+
# if [[ -d ${{ github.workspace }}/firebase ]]; then
91+
# tar -czf firebase.tar.gz firebase;
92+
# fi
93+
# working-directory: ${{ github.workspace }}
94+
# - name: The job has failed - archive npm logs
95+
# if: ${{ failure() }}
96+
# run: |
97+
# if [[ -d /home/runner/.npm/_logs ]]; then
98+
# tar -czf ${{ github.workspace }}/npm-logs.tar.gz /home/runner/.npm/_logs;
99+
# fi
100+
# working-directory: /
101+
# - name: The job has failed - upload artifacts
102+
# if: ${{ failure() }}
103+
# uses: actions/upload-artifact@v4
104+
# with:
105+
# name: ${{ env.FIREBASE_PROJECT }}-site-${{ env.FIREBASE_SITE_ALIAS }}-debug
106+
# path: |
107+
# ${{ github.workspace }}/firebase.tar.gz
108+
# ${{ github.workspace }}/npm-logs.tar.gz
109+
# retention-days: 1

0 commit comments

Comments
 (0)