Skip to content

Commit e30e665

Browse files
Remade AMCF Website
1 parent 4ece84e commit e30e665

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+865
-3491
lines changed

.github/workflows/deploy.yml

Lines changed: 11 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
# .github/workflows/deploy.yml
2-
name: Deploy Website to GitHub Pages
1+
name: Deploy static site to GitHub Pages
32

43
on:
54
push:
6-
branches: [ "develop" ]
5+
branches: [ "develop" ] # or "main" – pick your branch
76
paths:
8-
- 'Documentation/Website/**'
9-
- '.github/workflows/deploy.yml'
7+
- "Documentation/Website/**"
8+
- ".github/workflows/deploy.yml"
109
workflow_dispatch:
1110

1211
permissions:
@@ -19,41 +18,19 @@ concurrency:
1918
cancel-in-progress: true
2019

2120
jobs:
22-
build:
21+
deploy:
22+
environment:
23+
name: github-pages
24+
url: ${{ steps.deployment.outputs.page_url }}
2325
runs-on: ubuntu-latest
24-
defaults:
25-
run:
26-
working-directory: Documentation/Website
2726
steps:
2827
- uses: actions/checkout@v4
2928

30-
- uses: actions/setup-node@v4
31-
with:
32-
node-version: '20'
33-
cache: 'npm'
34-
cache-dependency-path: Documentation/Website/package-lock.json
35-
36-
- run: npm ci
37-
- run: npm run build
38-
env:
39-
# lets your vite.config base logic read the repo name if you used that trick
40-
GITHUB_REPOSITORY: ${{ github.repository }}
41-
42-
# Only needed if you use Vue Router history mode (not hash)
43-
- name: SPA fallback
44-
run: |
45-
if [ -f dist/index.html ]; then cp dist/index.html dist/404.html; fi
46-
29+
# Upload your static site folder directly
4730
- uses: actions/upload-pages-artifact@v3
4831
with:
49-
path: Documentation/Website/dist
32+
path: Documentation/Website
5033

51-
deploy:
52-
environment:
53-
name: github-pages
54-
url: ${{ steps.deployment.outputs.page_url }}
55-
runs-on: ubuntu-latest
56-
needs: build
57-
steps:
34+
# Publish to Pages
5835
- id: deployment
5936
uses: actions/deploy-pages@v4

Documentation/Website/.gitignore

Lines changed: 0 additions & 30 deletions
This file was deleted.

Documentation/Website/README.md

Lines changed: 0 additions & 29 deletions
This file was deleted.
581 KB
Loading
2.24 MB
Binary file not shown.
1.76 MB
Binary file not shown.
2.62 MB
Binary file not shown.
2.77 MB
Binary file not shown.
2.99 MB
Binary file not shown.
1.43 MB
Binary file not shown.

0 commit comments

Comments
 (0)