Skip to content

Commit

Permalink
fix deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
SpectralDragon committed May 10, 2023
1 parent 67682fa commit db70bf1
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 54 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,23 @@ on:
permissions:
contents: write

env:
DEPLOY_ACCESS_TOKEN: ${{ secrets.DEPLOY_ACCESS_TOKEN }}

jobs:
build:
name: Deploy AdaEngine Website

runs-on: macos-latest

steps:
- uses: actions/checkout@v2
- name: Deploy
run: swift run AdaEngineWebsite --deploy
- uses: actions/checkout@v2
- name: Generate static site
run: swift run AdaEngineWebsite --deploy

- name: Deploy to GitHub Pages
- uses: JamesIves/github-pages-deploy-action@v4
with:
branch: main
folder: Output
token: ${{ secrets.DEPLOY_ACCESS_TOKEN }}
repository-name: AdaEngine/adaengine.github.io
single-commit: true
force: true
56 changes: 28 additions & 28 deletions Resources/Styles/codesyntax.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,60 +2,72 @@
/* Generated by `CodeSyntaxCSSGeneratorPlugin` https://github.com/SpectralDragon/CodeSyntaxCSSGeneratorPlugin */


pre code .s-string {
color: #C41A15FF
pre code .s-comment {
color: #007400FF
}

pre code .s-type {
color: #3E6D74FF
pre code .s-dotAccess {
color: #25464AFF
}

pre code .s-number {
color: #1C00CEFF
}

pre code .s-comment {
color: #007400FF
pre code .s-string {
color: #C41A15FF
}

pre code .s-dotAccess {
color: #25464AFF
pre code .s-property {
color: #3E6D74FF
}

pre code .s-preprocessing {
color: #63381FFF
}

pre code .s-property {
color: #3E6D74FF
pre code .s-call {
color: #25464AFF
}

pre code .s-keyword {
color: #A90D91FF
}

pre code .s-call {
color: #25464AFF
pre code .s-type {
color: #3E6D74FF
}



@media(prefers-color-scheme: dark) {

pre code .s-preprocessing {
color: #FC8E3EFF
pre code .s-string {
color: #FC695DFF
}

pre code .s-call {
color: #67B6A3FF
}

pre code .s-comment {
color: #6C7985FF
}

pre code .s-number {
color: #CFBF69FF
}

pre code .s-property {
color: #67B6A3FF
}

pre code .s-call {
color: #67B6A3FF
pre code .s-preprocessing {
color: #FC8E3EFF
}

pre code .s-type {
color: #9EF0DDFF
}

pre code .s-keyword {
Expand All @@ -66,18 +78,6 @@ pre code .s-call {
color: #67B6A3FF
}

pre code .s-string {
color: #FC695DFF
}

pre code .s-number {
color: #CFBF69FF
}

pre code .s-type {
color: #9EF0DDFF
}



}
40 changes: 20 additions & 20 deletions Resources/Styles/tags.css
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
/* THIS FILE WAS AUTO GENERATED. DO NOT CHANGE IT MANUAL */
/* Generated by `TagColorCSSGeneratorPlugin` https://github.com/SpectralDragon/TagColorCSSGeneratorPlugin */

.tag-swiftui {
background-color: #007AFF66;
color: #007AFFFF;
font-weight: bold;
}

.tag-swiftui:hover {
background-color: #007AFFB2;
}

.tag-ui {
background-color: #FF3B3066;
color: #FF3B30FF;
Expand All @@ -21,17 +11,17 @@
background-color: #FF3B30B2;
}

@media(prefers-color-scheme: dark) {
.tag-swiftui {
background-color: #007AFF66;
color: #007AFFFF;
font-weight: bold;
}

.tag-swiftui {
background-color: #0A84FF66;
color: #0A84FFFF;
font-weight: bold;
}

.tag-swiftui:hover {
background-color: #0A84FFB2;
}
.tag-swiftui:hover {
background-color: #007AFFB2;
}

@media(prefers-color-scheme: dark) {

.tag-ui {
background-color: #FF453A66;
Expand All @@ -43,4 +33,14 @@
background-color: #FF453AB2;
}

.tag-swiftui {
background-color: #0A84FF66;
color: #0A84FFFF;
font-weight: bold;
}

.tag-swiftui:hover {
background-color: #0A84FFB2;
}

}

0 comments on commit db70bf1

Please sign in to comment.