Skip to content

Commit

Permalink
remove Astro Studio workflow and replace with main deployment workflo…
Browse files Browse the repository at this point in the history
…w; update package dependencies and exclude file for deployments
  • Loading branch information
ipatate committed Oct 23, 2024
1 parent 9359d1a commit 463d604
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 63 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/_studio.yml

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
on: push
name: 🚀 Deploy website on push
jobs:
web-deploy:
name: 🎉 Deploy
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v4

- name: Use Bun
uses: oven-sh/setup-bun@v2
with:
node-version: "latest"

- name: 🔨 Build Project
run: |
bun install
bun run build
- name: rsync deployments
uses: burnett01/[email protected]
with:
switches: -avzr --exclude-from='deploy-exclude-file.txt' --delete
remote_path: ${{ secrets.FTP_PATH_PRODUCTION }}
remote_host: ${{ secrets.FTP_HOST }}
remote_user: ${{ secrets.FTP_USERNAME }}
remote_key: ${{ secrets.SSH_PRIVATE_KEY }}
8 changes: 8 additions & 0 deletions deploy-exclude-file.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.git
.git*
node_modules
.env_example
DOCKER_ENV
docker_tag
.env
languages
74 changes: 37 additions & 37 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
{
"name": "goodmotion-23",
"type": "module",
"version": "0.0.1",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "astro build && node robots.mjs",
"preview": "astro preview",
"astro": "astro",
"robots": "node robots.mjs",
"favicon": "node favicon.mjs"
},
"dependencies": {
"@astrojs/mdx": "^3.1.2",
"@astrojs/sitemap": "^3.1.6",
"@astrojs/tailwind": "^5.1.0",
"@astrojs/vue": "^4.5.0",
"astro": "^4.11.1",
"gsap": "^3.12.5",
"sharp": "^0.33.4",
"tailwindcss": "^3.4.4",
"vue": "^3.4.30"
},
"volta": {
"node": "18.15.0"
},
"devDependencies": {
"@iconify-json/ic": "^1.1.17",
"@iconify-json/mdi": "^1.1.67",
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "^0.5.13",
"@types/xml2js": "^0.4.14",
"astro-icon": "^1.1.0",
"favicons": "^7.2.0",
"tailwind-scrollbar": "^3.1.0",
"xml2js": "^0.6.2"
}
"name": "goodmotion-23",
"type": "module",
"version": "0.0.1",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "astro build && node robots.mjs",
"preview": "astro preview",
"astro": "astro",
"robots": "node robots.mjs",
"favicon": "node favicon.mjs"
},
"dependencies": {
"@astrojs/mdx": "^3.1.8",
"@astrojs/sitemap": "^3.2.1",
"@astrojs/tailwind": "^5.1.2",
"@astrojs/vue": "^4.5.2",
"astro": "^4.16.7",
"gsap": "^3.12.5",
"sharp": "^0.33.5",
"tailwindcss": "^3.4.14",
"vue": "^3.5.12"
},
"volta": {
"node": "18.15.0"
},
"devDependencies": {
"@iconify-json/ic": "^1.2.1",
"@iconify-json/mdi": "^1.2.1",
"@tailwindcss/forms": "^0.5.9",
"@tailwindcss/typography": "^0.5.15",
"@types/xml2js": "^0.4.14",
"astro-icon": "^1.1.1",
"favicons": "^7.2.0",
"tailwind-scrollbar": "^3.1.0",
"xml2js": "^0.6.2"
}
}

0 comments on commit 463d604

Please sign in to comment.