From 58c4f335d3ace0e380a38f8310310c8a16679e4e Mon Sep 17 00:00:00 2001 From: vishalkumar-activelabs Date: Tue, 5 Dec 2023 12:27:09 +0530 Subject: [PATCH] added docker and workflow --- .github/workflows/main.yaml | 27 +++++++++++++++++++++++++++ docker-compose.yaml | 27 +++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 .github/workflows/main.yaml create mode 100644 docker-compose.yaml diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml new file mode 100644 index 0000000..7e992f2 --- /dev/null +++ b/.github/workflows/main.yaml @@ -0,0 +1,27 @@ +name: Create Pull Request + +on: + push: + branches: + - main + +jobs: + create_pr: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + with: + token: ${{ secrets.COMMIT_TOKEN }} + + - name: Make changes + run: | + echo "Updated content" > file.txt # Replace with your file path + git config --global user.email "vishal.kumar@cloudactivelabs.com" + git config --global user.name "vishalkumar-activelabs" + # git pull origin main + git add . + git commit -m "Update app.js" + git status + git push --set-upstream origin main-$GITHUB_SHA \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..7e992f2 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,27 @@ +name: Create Pull Request + +on: + push: + branches: + - main + +jobs: + create_pr: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + with: + token: ${{ secrets.COMMIT_TOKEN }} + + - name: Make changes + run: | + echo "Updated content" > file.txt # Replace with your file path + git config --global user.email "vishal.kumar@cloudactivelabs.com" + git config --global user.name "vishalkumar-activelabs" + # git pull origin main + git add . + git commit -m "Update app.js" + git status + git push --set-upstream origin main-$GITHUB_SHA \ No newline at end of file