1
0

Remove publishing task

This commit is contained in:
Tim Kächele 2021-11-22 08:44:26 +01:00 committed by GitHub
parent 185de016ba
commit 283a6a5c50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,39 +0,0 @@
name: Publish to public vinted take-home-task repository
on:
push:
branches:
- main
jobs:
test:
name: CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
persist-credentials: false
- name: Remove git history
run: rm -rf .git
- name: Remove github workflows
run:
rm -rf ./.github
- name: Initialize new git repo
run: |
git init
git checkout -b main
- name: Set user credentials
run: |
git config user.name 'Vinted'
git config user.email 'no-reply@vinted.com'
- name: Commit changes
run: |
git add -A
git commit -m "First commit"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.API_TOKEN }}
branch: main
repository: TimKaechele/planet_express_squashed
force: true