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