Skip to content

Commit

Permalink
ci: new deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jmjuanes committed Jan 10, 2024
1 parent 97f3a0d commit d746240
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 87 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Deploy

on:
push:
tags: ["*"]
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: "deploy"
cancel-in-progress: true

jobs:
deploy:
if: ${{ github.repository == 'jmjuanes/siimple' }}
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: 16
- uses: actions/configure-pages@v1
- run: yarn install
- run: yarn run build
- run: yarn run build:website
- uses: actions/upload-pages-artifact@v1
with:
path: public
- uses: actions/deploy-pages@v1
id: deployment
41 changes: 0 additions & 41 deletions .github/workflows/website.yml

This file was deleted.

46 changes: 0 additions & 46 deletions firebase.json

This file was deleted.

0 comments on commit d746240

Please sign in to comment.