Skip to content

Commit

Permalink
Final tweaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSeccubus committed Nov 2, 2023
1 parent 2e2b3ca commit 3ff2786
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build_pages_native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
pull_request:
branches:
- main
# schedule:
# - cron: "15 3 * * *"
schedule:
- cron: "15 3 * * *"

jobs:
build_and_test:
Expand Down Expand Up @@ -49,6 +49,11 @@ jobs:
remote_host: ${{ secrets.DEPLOY_HOST }}
remote_user: ${{ secrets.DEPLOY_USER }}
remote_key: ${{ secrets.DEPLOY_KEY_WWW }}
- name: Deploy Admin inteface to GitHub pages
uses: JamesIves/github-pages-deploy-action@v4
if: ${{ github.ref == 'refs/heads/main' }}
with:
folder: admin # The folder the action should deploy.
- name: Slack notify failure (website)
if: failure()
uses: voxmedia/github-action-slack-notify-build@v1
Expand All @@ -67,9 +72,4 @@ jobs:
channel: communications
status: FAILED
color: danger
- name: Deploy GiutHub pages
uses: JamesIves/github-pages-deploy-action@v4
# if: ${{ github.ref == 'refs/heads/main' }} # && ( success() || failure() ) # Remove the && clause when a HTML check is flawless
with:
folder: admin # The folder the action should deploy.

4 changes: 1 addition & 3 deletions admin/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ collections: # A list of collections the CMS should be able to edit
file: "join.md"
fields:
- {label: Title, name: title, widget: string }
- {label: Description, name: description, widget: string }
- {label: Layout, name: layout, widget: hidden, default: default }
- {label: Body, name: body, widget: markdown }
- label: "Donate"
Expand All @@ -34,6 +33,7 @@ collections: # A list of collections the CMS should be able to edit
fields:
- {label: Title, name: title, widget: string }
- {label: Layout, name: layout, widget: hidden, default: default }
- {label: Scripts, name: scripts, widget: list, default: ["supp.js]"}
- {label: Body, name: body, widget: markdown }
- label: "News"
name: "news"
Expand All @@ -47,15 +47,13 @@ collections: # A list of collections the CMS should be able to edit
file: "partners.md"
fields:
- {label: Title, name: title, widget: string }
- {label: Description, name: description, widget: string }
- {label: Layout, name: layout, widget: hidden, default: default }
- {label: Body, name: body, widget: markdown }
- label: "Reports"
name: "reports"
file: "reports.md"
fields:
- {label: Title, name: title, widget: string }
- {label: Description, name: description, widget: string }
- {label: Layout, name: layout, widget: hidden, default: default }
- {label: Body, name: body, widget: markdown }
- label: "Team"
Expand Down

0 comments on commit 3ff2786

Please sign in to comment.