Fix z-index in post preview editor #321
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 Editor | |
| on: | |
| push: | |
| branches: ['main'] | |
| workflow_dispatch: | |
| inputs: | |
| environment: | |
| description: 'Deployment Target' | |
| required: true | |
| default: 'main' | |
| type: choice | |
| options: | |
| - main | |
| jobs: | |
| deploy: | |
| if: github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch' | |
| runs-on: ubuntu-latest | |
| env: | |
| DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }} | |
| NODE_OPTIONS: --max-old-space-size=6144 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: '22.x' | |
| cache: 'npm' | |
| - run: npm run clean:install | |
| - name: Deploy editor to (staging_portalenv.arweave.net) | |
| if: github.event_name == 'push' && github.ref == 'refs/heads/main' | |
| run: npm run deploy:editor:staging | |
| - name: Deploy editor to (portal.arweave.net) | |
| if: github.event_name == 'workflow_dispatch' | |
| run: npm run deploy:editor:main |