diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 30eef1f..4b419ce 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -8,9 +8,6 @@ on: permissions: contents: write -env: - DEPLOY_ACCESS_TOKEN: ${{ secrets.DEPLOY_ACCESS_TOKEN }} - jobs: build: name: Deploy AdaEngine Website @@ -18,6 +15,16 @@ jobs: 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 diff --git a/Resources/Styles/codesyntax.css b/Resources/Styles/codesyntax.css index 4e2f510..32edeaa 100644 --- a/Resources/Styles/codesyntax.css +++ b/Resources/Styles/codesyntax.css @@ -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 { @@ -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 - } - } \ No newline at end of file diff --git a/Resources/Styles/tags.css b/Resources/Styles/tags.css index 8bb2699..d970379 100644 --- a/Resources/Styles/tags.css +++ b/Resources/Styles/tags.css @@ -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; @@ -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; @@ -43,4 +33,14 @@ background-color: #FF453AB2; } + .tag-swiftui { + background-color: #0A84FF66; + color: #0A84FFFF; + font-weight: bold; + } + + .tag-swiftui:hover { + background-color: #0A84FFB2; + } + } \ No newline at end of file