Added simple static deploy
Some checks failed
Build and Deploy Astro Site / deploy (push) Failing after 1m7s
Some checks failed
Build and Deploy Astro Site / deploy (push) Failing after 1m7s
This commit is contained in:
22
.gitea/workflows/deploy.yml
Normal file
22
.gitea/workflows/deploy.yml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
name: Build and Deploy Astro Site
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ main ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 10
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Build and deploy
|
||||||
|
run: |
|
||||||
|
npm install
|
||||||
|
npm run build
|
||||||
|
|
||||||
|
# Deploy
|
||||||
|
rm -rf /var/www/sites/dave-dmg/blog/*
|
||||||
|
cp -r dist/* /var/www/sites/dave-dmg/blog/
|
||||||
24
.idea/workspace.xml
generated
24
.idea/workspace.xml
generated
@@ -40,18 +40,18 @@
|
|||||||
"node.js.selected.package.tslint": "(autodetect)",
|
"node.js.selected.package.tslint": "(autodetect)",
|
||||||
"nodejs_package_manager_path": "npm",
|
"nodejs_package_manager_path": "npm",
|
||||||
"prettierjs.PrettierConfiguration.Package": "/Users/dave/projects/dave-dmg/blog/node_modules/prettier",
|
"prettierjs.PrettierConfiguration.Package": "/Users/dave/projects/dave-dmg/blog/node_modules/prettier",
|
||||||
"settings.editor.selected.configurable": "settings.javascript.prettier",
|
"settings.editor.selected.configurable": "settings.javascript.linters.eslint",
|
||||||
"ts.external.directory.path": "/Users/dave/projects/dave-dmg/blog/node_modules/typescript/lib",
|
"ts.external.directory.path": "/Users/dave/projects/dave-dmg/blog/node_modules/typescript/lib",
|
||||||
"vue.rearranger.settings.migration": "true"
|
"vue.rearranger.settings.migration": "true"
|
||||||
}
|
}
|
||||||
}]]></component>
|
}]]></component>
|
||||||
<component name="RecentsManager">
|
<component name="RecentsManager">
|
||||||
<key name="MoveFile.RECENT_KEYS">
|
<key name="MoveFile.RECENT_KEYS">
|
||||||
<recent name="$PROJECT_DIR$/src" />
|
<recent name="$PROJECT_DIR$/src/components/Markdoc" />
|
||||||
<recent name="$PROJECT_DIR$/configs/collections" />
|
<recent name="$PROJECT_DIR$/src/components" />
|
||||||
<recent name="$PROJECT_DIR$" />
|
<recent name="$PROJECT_DIR$/src/components/markdoc" />
|
||||||
<recent name="$PROJECT_DIR$/keystatic/collections" />
|
<recent name="$PROJECT_DIR$/src/styles" />
|
||||||
<recent name="$PROJECT_DIR$/keystatic/collections/system" />
|
<recent name="$PROJECT_DIR$/src/app/keystatic" />
|
||||||
</key>
|
</key>
|
||||||
</component>
|
</component>
|
||||||
<component name="RunManager" selected="npm.Next.js: server-side">
|
<component name="RunManager" selected="npm.Next.js: server-side">
|
||||||
@@ -84,7 +84,7 @@
|
|||||||
<option name="presentableId" value="Default" />
|
<option name="presentableId" value="Default" />
|
||||||
<updated>1756802819394</updated>
|
<updated>1756802819394</updated>
|
||||||
<workItem from="1756802820524" duration="57336000" />
|
<workItem from="1756802820524" duration="57336000" />
|
||||||
<workItem from="1756985956072" duration="2091000" />
|
<workItem from="1756985956072" duration="111716000" />
|
||||||
</task>
|
</task>
|
||||||
<task id="LOCAL-00001" summary="Added simple astrojs deploy">
|
<task id="LOCAL-00001" summary="Added simple astrojs deploy">
|
||||||
<option name="closed" value="true" />
|
<option name="closed" value="true" />
|
||||||
@@ -150,7 +150,15 @@
|
|||||||
<option name="project" value="LOCAL" />
|
<option name="project" value="LOCAL" />
|
||||||
<updated>1756909004310</updated>
|
<updated>1756909004310</updated>
|
||||||
</task>
|
</task>
|
||||||
<option name="localTasksCounter" value="9" />
|
<task id="LOCAL-00009" summary="Added a baseline style for most elements">
|
||||||
|
<option name="closed" value="true" />
|
||||||
|
<created>1756988069769</created>
|
||||||
|
<option name="number" value="00009" />
|
||||||
|
<option name="presentableId" value="LOCAL-00009" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1756988069769</updated>
|
||||||
|
</task>
|
||||||
|
<option name="localTasksCounter" value="10" />
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
<component name="TypeScriptGeneratedFilesManager">
|
<component name="TypeScriptGeneratedFilesManager">
|
||||||
|
|||||||
Reference in New Issue
Block a user