From e1ecdc7302a991b21696f594de73076791c882e9 Mon Sep 17 00:00:00 2001 From: tharvik Date: Fri, 25 Oct 2024 12:45:38 +0200 Subject: [PATCH] TMP trigger deploy --- .github/workflows/publish-deploy.yml | 53 +--------------------------- 1 file changed, 1 insertion(+), 52 deletions(-) diff --git a/.github/workflows/publish-deploy.yml b/.github/workflows/publish-deploy.yml index 82bb18dfb..6533154cf 100644 --- a/.github/workflows/publish-deploy.yml +++ b/.github/workflows/publish-deploy.yml @@ -1,60 +1,9 @@ name: publish-deploy on: push: - branches: [develop] - tags: [v*] + branches: [NAN-fix-docker-tharvik] jobs: - publish-npm: - runs-on: ubuntu-latest - permissions: - contents: read - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version-file: .nvmrc - cache: npm - registry-url: "https://registry.npmjs.org" - scope: "@epfml" - - run: npm ci - - run: npm --workspace=discojs{,-node,-web} version prerelease --preid=p`date +%Y%m%d%H%M%S` - if: github.ref_type == 'branch' - - run: npm --workspace=discojs{,-node,-web} run build - - run: npm --workspace=discojs{,-node,-web} publish --access public - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - - build-webapp: - if: github.ref_type == 'branch' - runs-on: ubuntu-latest - permissions: - contents: read - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version-file: .nvmrc - cache: npm - - run: npm ci - - run: npm --workspace={discojs,discojs-web,webapp} run build - - uses: actions/upload-pages-artifact@v3 - with: - path: webapp/dist - deploy-pages: - needs: build-webapp - if: github.ref_type == 'branch' - runs-on: ubuntu-latest - permissions: - pages: write - id-token: write - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - steps: - - id: deployment - uses: actions/deploy-pages@v4 - publish-github-container: runs-on: ubuntu-latest permissions: