mirror of
https://github.com/iconoir-icons/iconoir
synced 2024-05-10 02:16:41 +02:00
ci: remove website build from release script and ignore npm deploys on error
This commit is contained in:
parent
e9aa544628
commit
7deda2c85d
14
.github/workflows/release.yaml
vendored
14
.github/workflows/release.yaml
vendored
|
@ -43,27 +43,17 @@ jobs:
|
|||
- run: git -c user.email="actions@github.com" -c user.name="GitHub Actions" tag -fa ${{ github.ref_name }} -m "${{ github.ref_name }}"
|
||||
- run: git push -f origin ${{ github.ref_name }}
|
||||
- run: npm publish --access public
|
||||
continue-on-error: true
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
- run: pnpm -r publish --filter ./packages --access public
|
||||
continue-on-error: true
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
- uses: sakebook/actions-flutter-pub-publisher@v1.4.0
|
||||
with:
|
||||
credential: ${{ secrets.PUB_CREDENTIAL_JSON }}
|
||||
package_directory: ./packages/iconoir-flutter
|
||||
- name: Build
|
||||
run: ./node_modules/.bin/next build
|
||||
working-directory: iconoir.com
|
||||
- name: Export
|
||||
run: ./node_modules/.bin/next export
|
||||
working-directory: iconoir.com
|
||||
- name: Setup Pages
|
||||
uses: actions/configure-pages@v1
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v1
|
||||
with:
|
||||
path: './iconoir.com/out'
|
||||
website:
|
||||
runs-on: ubuntu-latest
|
||||
name: deploy
|
||||
|
|
Loading…
Reference in a new issue