Skip to content

Commit

Permalink
Changed the deploy action...again
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanfox committed Jul 14, 2024
1 parent 0af2e49 commit 7a84bd0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 21 deletions.
38 changes: 17 additions & 21 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,25 @@
name: Deploy to Github Pages
name: Deploy to GitHub Pages

on:
push:
branches:
- develop
branches: [main] # or your default branch

jobs:
deploy:
name: Deploy Application
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@master
- name: Create Node Environment
uses: actions/setup-node@v1
with:
node-version: 10.x
- name: Install Packages and Build Application
- uses: actions/checkout@v3

- name: Install Bun
uses: oven-sh/setup-bun@v1

- name: Install and Build
run: |
npm install -g @vue
npm install
npm build
- name: Deploy
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: master
FOLDER: dist
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
bun install
bun run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist # Adjust if your build output is elsewhere
1 change: 1 addition & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import path from "path";
export default mergeConfig(
viteConfig,
defineConfig({
base: "/art-institute-chicago/",
plugins: [vue()],
resolve: {
alias: {
Expand Down

0 comments on commit 7a84bd0

Please sign in to comment.