Neptune_Render: expand DXF import/export pipeline and manufacturing i… #3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy to GitHub Pages (3duf.org) | |
| # Builds the Vue app and publishes dist/ to the gh-pages branch, | |
| # which serves the live site at 3duf.org. Triggers on Neptune_Render | |
| # pushes directly (a bot-synced push to production would not trigger | |
| # Actions). production stays a synced mirror via sync-production.yml. | |
| on: | |
| push: | |
| branches: [Neptune_Render] | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| concurrency: | |
| group: pages-deploy | |
| cancel-in-progress: true | |
| jobs: | |
| build-and-deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "18" | |
| - name: Install dependencies | |
| run: npm ci --legacy-peer-deps || npm install --legacy-peer-deps | |
| - name: Build | |
| run: NODE_OPTIONS=--openssl-legacy-provider npm run vue-build | |
| - name: Publish to gh-pages | |
| uses: peaceiris/actions-gh-pages@v4 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./dist | |
| publish_branch: gh-pages | |
| cname: 3duf.org |