Skip to content

Commit

Permalink
Add build and deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
KlutzyBubbles committed Jan 11, 2024
1 parent 5ae25b4 commit e04eedc
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build and Deploy

on:
push:
tags:
- v*

permissions:
contents: write

jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install and Build
run: |
npm ci
npm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "playing-cards",
"version": "1.0.0",
"version": "0.0.1",
"description": "",
"scripts": {
"scss": "sass sass/main.scss:css/main.css --verbose --trace",
Expand Down

0 comments on commit e04eedc

Please sign in to comment.