Skip to content

Commit

Permalink
Merge branch 'dev' into ui-adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
Leon-Jerke committed Apr 17, 2024
2 parents 403b63d + fe39ff1 commit fe58b01
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 13 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: deploy-dev
on:
push:
branches:
- dev
jobs:
deploy-via-ssh:
runs-on: ubuntu-latest
steps:
- name: Setup SSH
run: |
mkdir -p ~/.ssh/
echo "${{ secrets.SSH_PRIV_KEY_DEV }}" > ~/.ssh/id_rsa
echo "${{ secrets.SSH_PUB_KEY_DEV }}" > ~/.ssh/id_rsa.pub
chmod 600 ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa.pub
touch ~/.ssh/known_hosts
ssh-keyscan -H ${{ secrets.IP_DEV }} >> ~/.ssh/known_hosts
- name: Deploy via SSH
run: |
ssh ${{ secrets.USER_AND_IP_DEV }} 'cd /home/loco/team-learning && git pull && docker compose -f traefik.docker-compose.yml up -d'
30 changes: 17 additions & 13 deletions frontend/lib/components/general/quiz/choose_alias.dart
Original file line number Diff line number Diff line change
Expand Up @@ -93,19 +93,23 @@ class _ChooseAliasState extends State<ChooseAlias> {
),
),
),
ElevatedButton(
onPressed: () {
_onSubmit();
},
style: ElevatedButton.styleFrom(
padding: EdgeInsets.zero,
shape: const CircleBorder(),
fixedSize: const Size(50, 50),
backgroundColor: colors.primary,
),
child: Icon(
Icons.arrow_forward,
color: colors.background,
SizedBox(
width: 50,
height: 50,
child: ElevatedButton(
onPressed: () {
_onSubmit();
},
style: ElevatedButton.styleFrom(
padding: EdgeInsets.zero,
shape: const CircleBorder(),
fixedSize: const Size(50, 50),
backgroundColor: colors.primary,
),
child: Icon(
Icons.arrow_forward,
color: colors.background,
),
),
),
],
Expand Down

0 comments on commit fe58b01

Please sign in to comment.