Skip to content

Commit

Permalink
Add CI deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
timoschwarzer committed May 16, 2024
1 parent 090481e commit 04da4aa
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 2 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: cd

on: [push, pull_request]

jobs:
cd:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master

- name: Setup node env
uses: actions/setup-node@v4
with:
node-version: 20.x

- name: Install dependencies
run: yarn

- name: Generate
run: yarn run generate

- name: Deploy
uses: peaceiris/actions-gh-pages@v4
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
4 changes: 2 additions & 2 deletions app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ useHead({
padding: 5vw 0 33vw 0;
}
.ceiling {
background-image: url("/ceiling.png");
background-image: url("@/assets/images/ceiling.png");
background-position: 0 -12vw;
top: 0;
height: 21vw;
transform: scaleX(-1);
}
.floor {
background-image: url("/floor.png");
background-image: url("@/assets/images/floor.png");
background-position: 0 8vw;
bottom: 0;
height: 60vw;
Expand Down
File renamed without changes
File renamed without changes

0 comments on commit 04da4aa

Please sign in to comment.