diff --git a/.github/workflows/index.html b/.github/workflows/index.html new file mode 100644 index 00000000..33bf3c7b --- /dev/null +++ b/.github/workflows/index.html @@ -0,0 +1,16 @@ + + + + + + + + + Conduit + + + + + + diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..a477cae6 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,50 @@ +name: +on: + workflow_dispatch: + inputs: + branch_name: + description: 'Please provide the exact branch name' + required: true + + #pull_request: + #types: [closed] + #branches: + # - master + +jobs: + build: + runs-on: ubuntu-20.04 + env: + BRANCH_NAME: ${{ github.event.inputs.branch_name }} + + steps: + - name: Check out Git repository + uses: actions/checkout@v2 + with: + ref: master + + + + - name: branch name + id: branch + run: | + git fetch --all + git checkout -b ${{ env.BRANCH_NAME }} + git pull origin ${{ env.BRANCH_NAME }} --rebase + #git rebase --skip + feature=$(echo "${{ env.BRANCH_NAME}}" | cut -d "-" -f 2) + echo "::set-output name=feature_name::$feature" + echo "$feature" + + + - name: building infinity + run: | + yarn install + yarn run build + shell: bash + + - name: creating index.html versioning i.e index- + run: | + ls -al + # cp public/index.html public/index-feature-${{ steps.branch.outputs.feature_name }} + # shell: bash diff --git a/dd.sh b/dd.sh new file mode 100644 index 00000000..55d58013 --- /dev/null +++ b/dd.sh @@ -0,0 +1,2 @@ +ddddd +ddddd \ No newline at end of file diff --git a/ee b/ee new file mode 100644 index 00000000..4ed04702 --- /dev/null +++ b/ee @@ -0,0 +1 @@ +ddddddsdddsssss \ No newline at end of file