Skip to content

Commit

Permalink
Merge pull request #13 from AAVision/dev
Browse files Browse the repository at this point in the history
Devops things
  • Loading branch information
AAVision authored Mar 29, 2024
2 parents 7d607ee + 411f808 commit 8660985
Show file tree
Hide file tree
Showing 13 changed files with 380 additions and 11 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Deploy to GitHub

on:
push:
branches: ["main"]

jobs:
build-and-deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Use Node.js 21.x
uses: actions/setup-node@v1
with:
node-version: 21.x

- name: Prepare and deploy
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: npm ci
npm run ng deploy
9 changes: 9 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,15 @@
],
"scripts": []
}
},
"deploy": {
"builder": "angular-cli-ghpages:deploy",
"options": {
"baseHref": "/lebanon-stars/",
"repo": "https://github.com/AAVision/lebanon-stars",
"name": "Lebanon Stars",
"email": "[email protected]"
}
}
}
}
Expand Down
Loading

0 comments on commit 8660985

Please sign in to comment.