Skip to content

Commit

Permalink
deploy with github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
luludotdev committed Nov 20, 2023
1 parent 416adb5 commit f9d6903
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 118 deletions.
27 changes: 0 additions & 27 deletions .dockerignore

This file was deleted.

40 changes: 40 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Deploy
on:
push:
branches:
- master

env:
NODE_VERSION: 16.x

jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: yarn
- name: Install packages
run: yarn install --immutable
- name: Build
run: yarn run build
- name: Configure GitHub Pages
uses: actions/configure-pages@v3
- name: Upload Pages Artifact
uses: actions/upload-pages-artifact@v2
with:
path: build
- name: Deploy
id: deployment
uses: actions/deploy-pages@v2
58 changes: 0 additions & 58 deletions .github/workflows/docker.yml

This file was deleted.

33 changes: 0 additions & 33 deletions Dockerfile

This file was deleted.

0 comments on commit f9d6903

Please sign in to comment.