Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

Create main.yml

Amruth Pillaicebca552746b
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 000000000..c04276ba2
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -0,0 +1,39 @@
+name: Build and Deploy
+
+on:
+ push:
+ branches: [ master ]
+
+jobs:
+ build:
+ name: Build
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout GitHub Repository
+ uses: actions/[email protected]
+ - name: Install Project Dependencies
+ run: npm install
+ - name: Build in Production
+ run: npm run build
+ - name: Archive Production Artifact
+ uses: actions/[email protected]
+ with:
+ name: build
+ path: build
+ deploy:
+ name: Deploy
+ needs: build
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout GitHub Repository
+ uses: actions/[email protected]
+ - name: Download Artifact
+ uses: actions/[email protected]
+ with:
+ name: build
+ - name: Deploy to Firebase Hosting
+ uses: w9jds/[email protected]
+ with:
+ args: deploy --only hosting
+ env:
+ FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}