-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from Onboardbase/dev
Dev
- Loading branch information
Showing
9 changed files
with
1,129 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- dev | ||
jobs: | ||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Deploying to Dev | ||
uses: appleboy/[email protected] | ||
if: github.ref == 'refs/heads/dev' | ||
with: | ||
host: ${{ secrets.DEV_SERVER }} | ||
username: ${{ secrets.DEV_USER }} | ||
key: ${{ secrets.DEV_SSH_KEY }} | ||
script: | | ||
export NVM_DIR=~/.nvm | ||
source ~/.nvm/nvm.sh | ||
cd /root/apps/securelog-rsc-example | ||
git pull origin dev | ||
yarn install | ||
onboardbase run -c 'yarn build' | ||
cp -r dist/* /var/www/secure-example | ||
systemctl reload nginx | ||
- name: Deploying to prod | ||
uses: appleboy/[email protected] | ||
if: github.ref == 'refs/heads/main' | ||
with: | ||
host: ${{ secrets.PROD_SERVER }} | ||
username: ${{ secrets.PROD_USER }} | ||
key: ${{ secrets.PROD_SSH_KEY }} | ||
script: | | ||
export NVM_DIR=~/.nvm | ||
source ~/.nvm/nvm.sh | ||
cd /root/apps/securelog-rsc-example | ||
git pull origin main | ||
yarn install | ||
onboardbase run -c 'yarn build' | ||
cp -r dist/* /var/www/secure-example | ||
systemctl reload nginx |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export default { | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; |
Oops, something went wrong.