From f0d9281937932a47728da0d1ab52b09a7477effa Mon Sep 17 00:00:00 2001 From: Rekt Developer Date: Wed, 20 Nov 2024 01:43:46 +0600 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..e2c0a29 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,32 @@ +name: Deploy MimFlix + +on: + push: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout Repository + uses: actions/checkout@v2 + + - name: Set up Shell Environment + run: | + sudo apt-get update + sudo apt-get install -y bash + + - name: Run Startup Script + run: | + chmod +x ./startup.sh + ./startup.sh + + - name: Commit and Push Generated Files + run: | + git config --global user.name "github-actions[bot]" + git config --global user.email "github-actions[bot]@users.noreply.github.com" + git add . + git commit -m "Automated: Project files created by startup.sh" + git push origin main