Skip to content

Commit

Permalink
Update README and allow automated deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
heiglandreas committed Nov 18, 2023
1 parent d398394 commit 888c4d1
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Deploy

on:
push:
branches: [ "main" ]
workflow_dispatch:

jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: set env
run: echo "NOW=$(date +'%Y-%m-%dT%H:%M:%S')" >> $GITHUB_ENV

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- run: yarn install
- run: yarn build

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist
tag: "Relese_${{ env.NOW }}"
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
# callingallpapers-website
Website/Frontend for callingallpapers.com

## Setup

* Check out the project
* RUn `docker compose up -d`
* Visit http://localhost:1234

0 comments on commit 888c4d1

Please sign in to comment.