Skip to content

Commit

Permalink
Updated workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sohammohite committed Jun 23, 2024
1 parent c2ab5ae commit 4ef60e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,12 @@ jobs:
DOCKERHUB_USERNAME: ${{ secrets.DOCKER_USERNAME }}
run: docker push $DOCKERHUB_USERNAME/node-argo-k8s:${GITHUB_SHA::7}


- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Update values.yaml
env:
GIT_TOKEN: ${{ secrets.TOKEN }}
GIT_SHA: ${GITHUB_SHA::7}
run: |
pip install -r requirements.txt
pip3 install -r requirements.txt
ls -la
pwd
python update-values.py
cp update-values.py /home/runner/work/node-argo-k8s/node-argo-k8s/
python3 node-argo-k8s/update-values.py
2 changes: 1 addition & 1 deletion source-code/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const port = process.env.PORT || 3000;

const server = http.createServer((req, res) => {
res.statusCode = 200;
const msg = 'Hello World!!!\n'
const msg = 'Hello World!!\n'
res.end(msg);
});

Expand Down

0 comments on commit 4ef60e6

Please sign in to comment.